# 依赖JDK1.8
FROM superbigfu/alpine-jdk:1.8.0_111

WORKDIR /project
COPY . /project
# 配置日志映射位置
RUN mkdir -p /permission/log && ln -s /permission/log /logs

EXPOSE 8000
VOLUME ["/logs"]
# 启动命令
ENTRYPOINT ["sh","jfinal.sh","start"]